package com.itheima.pojo;

import java.io.Serializable;

public class Food implements Serializable {
    private Integer id;  //id
    private String code; //膳食助记码
    private String name;//膳食名称
    private String remark;//膳食说明
    private String size;//食用尺寸
    private String age;//适用年龄

    public Food() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Food( String code, String name, String remark, String size, String age) {


        this.code = code;
        this.name = name;
        this.remark = remark;
        this.size = size;
        this.age = age;
    }

    @Override
    public String toString() {
        return "Food{" +
                "code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", remark='" + remark + '\'' +
                ", size='" + size + '\'' +
                ", age='" + age + '\'' +
                '}';
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }
}
